//
//  ViewController.swift
//  CustomAlter
//
//  Created by slience on 2019/7/25.
//  Copyright © 2019 shehuiren. All rights reserved.
//

import UIKit

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view.
    }

    @IBAction func show(_ sender: Any) {
        Alter.builder().title("温馨提示").content("北京明天即将有大到暴雨，请知晓").noText("知道了").yesText("去看看").yesAction {
            
            print("去看看")
            
        }.build()
    }
    
}

